package lab02.test14;

/**
 * Created by AIR on 2017/10/23.
 */
public class Test {
    public static void main(String[] args) {
        //测试类Circle
        //调用构造函数
        Circle jia=new Circle();
        jia.radius=12;
        System.out.println(jia.getArea());

        //测试类Rectangle
        //调用构造函数
        Rectangle chen=new Rectangle();
        chen.radius=10;
        System.out.println(chen.getArea());
    }
}
